package com.hoshiicloud.market.service.market;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.market.entity.market.Coupons;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 * 系统优惠券 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-05-14
 */
public interface CouponsService extends IService<Coupons> {

    Coupons getById(Long id);

    boolean save(Coupons entity);

    boolean updateById(Coupons entity);

    IPage<Coupons> page(IPage<Coupons> page, Wrapper<Coupons> queryWrapper);

    boolean deleteById(Coupons entity);
}
